package com.zhangyj.entitis;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.zhangyj.util.Tools;

public class Dingdan implements Serializable {
	public static final String ZFBSLABEL[] = new String[] { "等待审核", "审核通过", "开单", "已发货", "退换货", "作废" };
	public static final int DENGDAISH = 0;
	public static final int SHENGHETONGG = 1;
	public static final int KAID = 2;
	public static final int YIFAH = 3;
	public static final int TUIHUANH = 4;
	public static final int ZUOF = 5;
	private static final long serialVersionUID = -7001122743628437972L;
	Integer ddid = 0;
	String ddbh = "";// 字符 20 订单编号
	String zdsj = "";// 字符 20 制单时间
	String zdr = "";// 字符 20 制单人
	BigDecimal zhye = BigDecimal.ZERO;// 字符 20 账户余额
	private BigDecimal zhjf = BigDecimal.ZERO;// 字符 20 账户积分
	Integer zflx = 0;// 字符 20 支付类型
	BigDecimal sxjf = BigDecimal.ZERO;// 字符 20 所需积分
	String hyjb = "";// 字符 20 会员级别
	String hybh = "";// 字符 20 会员编号
	String hyxm = "";// 字符 20 会员姓名
	String shdz = "";// 字符 50 送货地址
	String shyb = "";// 字符 20 送货邮编
	String shdh = "";// 字符 20 送货电话
	BigDecimal zje = BigDecimal.ZERO;// 货币 8 总金额
	String ddbz = "";// 字符 50 定单备注
	String nbbz = "";// 字符 50 内部备注
	String shry = "";// 字符 20 审核人员
	String shsj = "";// 时间型 8 审核时间
	String kdry = "";// 字符 20 开单人员
	String kdsj = "";// 时间型 8 开单时间
	String fhy = "";// 字符 20 发货员
	String fhsj = "";// 时间型 8 发货时间
	Integer zfbs = 0;// 字符 10 订单状态
	Integer cwsh = 0;// 字符 10 收款标志
	Integer zdrid = 0;
	private List<?> productList = new ArrayList<Xiaoshou>();
	public Dingdan() {

	}

	public Dingdan(HttpServletRequest request) throws Exception {
		setInfo(request);
	}

	public void setInfo(HttpServletRequest request) throws Exception {
		Tools.fullBean(this, request);
	}

	public String getDdbh() {
		return ddbh;
	}

	public void setDdbh(String ddbh) {
		this.ddbh = ddbh;
	}

	public String getZdsj() {
		return zdsj;
	}

	public void setZdsj(String zdsj) {
		this.zdsj = zdsj;
	}

	public String getZdr() {
		return zdr;
	}

	public void setZdr(String zdr) {
		this.zdr = zdr;
	}

	public BigDecimal getZhye() {
		return zhye;
	}

	public void setZhye(BigDecimal zhye) {
		this.zhye = zhye;
	}

	public Integer getZflx() {
		return zflx;
	}

	public void setZflx(Integer zflx) {
		this.zflx = zflx;
	}

	public BigDecimal getSxjf() {
		return sxjf;
	}

	public void setSxjf(BigDecimal sxjf) {
		this.sxjf = sxjf;
	}

	public String getHyjb() {
		return hyjb;
	}

	public void setHyjb(String hyjb) {
		this.hyjb = hyjb;
	}

	public String getHybh() {
		return hybh;
	}

	public void setHybh(String hybh) {
		this.hybh = hybh;
	}

	public String getHyxm() {
		return hyxm;
	}

	public void setHyxm(String hyxm) {
		this.hyxm = hyxm;
	}

	public String getShdz() {
		return shdz;
	}

	public void setShdz(String shdz) {
		this.shdz = shdz;
	}

	public String getShyb() {
		return shyb;
	}

	public void setShyb(String shyb) {
		this.shyb = shyb;
	}

	public String getShdh() {
		return shdh;
	}

	public void setShdh(String shdh) {
		this.shdh = shdh;
	}

	public BigDecimal getZje() {
		return zje;
	}

	public void setZje(BigDecimal zje) {
		this.zje = zje;
	}

	public String getDdbz() {
		return ddbz;
	}

	public void setDdbz(String ddbz) {
		this.ddbz = ddbz;
	}

	public String getNbbz() {
		return nbbz;
	}

	public void setNbbz(String nbbz) {
		this.nbbz = nbbz;
	}

	public String getShry() {
		return shry;
	}

	public void setShry(String shry) {
		this.shry = shry;
	}

	public String getShsj() {
		return shsj;
	}

	public void setShsj(String shsj) {
		this.shsj = shsj;
	}

	public String getKdry() {
		return kdry;
	}

	public void setKdry(String kdry) {
		this.kdry = kdry;
	}

	public String getKdsj() {
		return kdsj;
	}

	public void setKdsj(String kdsj) {
		this.kdsj = kdsj;
	}

	public String getFhy() {
		return fhy;
	}

	public void setFhy(String fhy) {
		this.fhy = fhy;
	}

	public String getFhsj() {
		return fhsj;
	}

	public void setFhsj(String fhsj) {
		this.fhsj = fhsj;
	}

	public Integer getZfbs() {
		return zfbs;
	}

	public void setZfbs(Integer zfbs) {
		this.zfbs = zfbs;
	}

	public Integer getCwsh() {
		return cwsh;
	}

	public void setCwsh(Integer cwsh) {
		this.cwsh = cwsh;
	}

	public Integer getDdid() {
		return ddid;
	}

	public void setDdid(Integer ddid) {
		this.ddid = ddid;
	}

	public Integer getZdrid() {
		return zdrid;
	}

	public void setZdrid(Integer zdrid) {
		this.zdrid = zdrid;
	}

	public List<?> getProductList() {
		return productList;
	}

	public void setProductList(List<?> productList) {
		this.productList = productList;
	}

	public BigDecimal getZhjf() {
		return zhjf;
	}

	public void setZhjf(BigDecimal zhjf) {
		this.zhjf = zhjf;
	}

}
